def city_name(city, country, population=0):
    if population == 0:
        name = f"{city.title()}, {country.title()}"
    else:
        name = f"{city.title()}, {country.title()} - population {population}"
    return name